package com.ruoyi.project.business.service;

import java.util.List;

import com.ruoyi.project.business.domain.BusinessArea;
import com.ruoyi.project.business.domain.BusinessAreaOrder;

/**
 * 租地订单Service接口
 * 
 * @author ruoyi
 * @date 2020-10-19
 */
public interface IBusinessAreaOrderService 
{
    /**
     * 查询租地订单
     * 
     * @param id 租地订单ID
     * @return 租地订单
     */
    public BusinessAreaOrder selectBusinessAreaOrderById(Long id);

    /**
     * 查询租地订单列表
     * 
     * @param businessAreaOrder 租地订单
     * @return 租地订单集合
     */
    public List<BusinessAreaOrder> selectBusinessAreaOrderList(BusinessAreaOrder businessAreaOrder);

    /**
     * 新增租地订单
     * 
     * @param businessAreaOrder 租地订单
     * @return 结果
     */
    public int insertBusinessAreaOrder(BusinessAreaOrder businessAreaOrder);

    /**
     * 修改租地订单
     * 
     * @param businessAreaOrder 租地订单
     * @return 结果
     */
    public int updateBusinessAreaOrder(BusinessAreaOrder businessAreaOrder);

    /**
     * 批量删除租地订单
     * 
     * @param ids 需要删除的租地订单ID
     * @return 结果
     */
    public int deleteBusinessAreaOrderByIds(Long[] ids);

    /**
     * 删除租地订单信息
     * 
     * @param id 租地订单ID
     * @return 结果
     */
    public int deleteBusinessAreaOrderById(Long id);

    /**
     * 查询被租的地
     * @param businessAreaOrder
     * @return
     */
    List<BusinessArea> areaList(BusinessAreaOrder businessAreaOrder);
}
